<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: pcl::SupervoxelClustering&lt; PointT &gt;::VoxelData类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classpcl_1_1_supervoxel_clustering_1_1_voxel_data.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="classpcl_1_1_supervoxel_clustering_1_1_voxel_data-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">pcl::SupervoxelClustering&lt; PointT &gt;::VoxelData类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p><a class="el" href="classpcl_1_1_supervoxel_clustering_1_1_voxel_data.html" title="VoxelData is a structure used for storing data within a pcl::octree::OctreePointCloudAdjacencyContain...">VoxelData</a> is a structure used for storing data within a <a class="el" href="classpcl_1_1octree_1_1_octree_point_cloud_adjacency_container.html" title="Octree adjacency leaf container class- stores a list of pointers to neighbors, number of points added...">pcl::octree::OctreePointCloudAdjacencyContainer</a>  
 <a href="classpcl_1_1_supervoxel_clustering_1_1_voxel_data.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="supervoxel__clustering_8h_source.html">supervoxel_clustering.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a6a43e5d0cf77ec2fb51787af00afbf0f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_supervoxel_clustering_1_1_voxel_data.html#a6a43e5d0cf77ec2fb51787af00afbf0f">getPoint</a> (<a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &amp;point_arg) const</td></tr>
<tr class="memdesc:a6a43e5d0cf77ec2fb51787af00afbf0f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the data of in the form of a point  <a href="classpcl_1_1_supervoxel_clustering_1_1_voxel_data.html#a6a43e5d0cf77ec2fb51787af00afbf0f">更多...</a><br /></td></tr>
<tr class="separator:a6a43e5d0cf77ec2fb51787af00afbf0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad51a32b2a4d8e5dc62e337261b89c88f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_supervoxel_clustering_1_1_voxel_data.html#ad51a32b2a4d8e5dc62e337261b89c88f">getNormal</a> (<a class="el" href="structpcl_1_1_normal.html">Normal</a> &amp;normal_arg) const</td></tr>
<tr class="memdesc:ad51a32b2a4d8e5dc62e337261b89c88f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the data of in the form of a normal  <a href="classpcl_1_1_supervoxel_clustering_1_1_voxel_data.html#ad51a32b2a4d8e5dc62e337261b89c88f">更多...</a><br /></td></tr>
<tr class="separator:ad51a32b2a4d8e5dc62e337261b89c88f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af5cad23b71ab04541c90df75e3ebaef3"><td class="memItemLeft" align="right" valign="top"><a id="af5cad23b71ab04541c90df75e3ebaef3"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>getPoint</b> (<a class="el" href="structpcl_1_1_point_x_y_z_r_g_b.html">pcl::PointXYZRGB</a> &amp;point_arg) const</td></tr>
<tr class="separator:af5cad23b71ab04541c90df75e3ebaef3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a79307e692597f37c4ae1cf1d18ace4a4"><td class="memItemLeft" align="right" valign="top"><a id="a79307e692597f37c4ae1cf1d18ace4a4"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>getPoint</b> (<a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">pcl::PointXYZRGBA</a> &amp;point_arg) const</td></tr>
<tr class="separator:a79307e692597f37c4ae1cf1d18ace4a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:aaf426829f7537f6518652e07352ddcf8"><td class="memItemLeft" align="right" valign="top"><a id="aaf426829f7537f6518652e07352ddcf8"></a>
Eigen::Vector3f&#160;</td><td class="memItemRight" valign="bottom"><b>xyz_</b></td></tr>
<tr class="separator:aaf426829f7537f6518652e07352ddcf8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab55858d25e973740cb4dd4c416164551"><td class="memItemLeft" align="right" valign="top"><a id="ab55858d25e973740cb4dd4c416164551"></a>
Eigen::Vector3f&#160;</td><td class="memItemRight" valign="bottom"><b>rgb_</b></td></tr>
<tr class="separator:ab55858d25e973740cb4dd4c416164551"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e119b52dcfa6f00b3659e5743b3e6a0"><td class="memItemLeft" align="right" valign="top"><a id="a5e119b52dcfa6f00b3659e5743b3e6a0"></a>
Eigen::Vector4f&#160;</td><td class="memItemRight" valign="bottom"><b>normal_</b></td></tr>
<tr class="separator:a5e119b52dcfa6f00b3659e5743b3e6a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0dce4b1bf55cb740f817c98962c6683e"><td class="memItemLeft" align="right" valign="top"><a id="a0dce4b1bf55cb740f817c98962c6683e"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><b>curvature_</b></td></tr>
<tr class="separator:a0dce4b1bf55cb740f817c98962c6683e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49fd6e2f8578612dc2c03e6a5979323a"><td class="memItemLeft" align="right" valign="top"><a id="a49fd6e2f8578612dc2c03e6a5979323a"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><b>distance_</b></td></tr>
<tr class="separator:a49fd6e2f8578612dc2c03e6a5979323a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13f8581d95f96e93118ca6675ad52e72"><td class="memItemLeft" align="right" valign="top"><a id="a13f8581d95f96e93118ca6675ad52e72"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>idx_</b></td></tr>
<tr class="separator:a13f8581d95f96e93118ca6675ad52e72"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a881a826716e1142e278e0ccc6dba6af2"><td class="memItemLeft" align="right" valign="top"><a id="a881a826716e1142e278e0ccc6dba6af2"></a>
<a class="el" href="classpcl_1_1_supervoxel_clustering_1_1_supervoxel_helper.html">SupervoxelHelper</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>owner_</b></td></tr>
<tr class="separator:a881a826716e1142e278e0ccc6dba6af2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><h3>template&lt;typename PointT&gt;<br />
class pcl::SupervoxelClustering&lt; PointT &gt;::VoxelData</h3>

<p><a class="el" href="classpcl_1_1_supervoxel_clustering_1_1_voxel_data.html" title="VoxelData is a structure used for storing data within a pcl::octree::OctreePointCloudAdjacencyContain...">VoxelData</a> is a structure used for storing data within a <a class="el" href="classpcl_1_1octree_1_1_octree_point_cloud_adjacency_container.html" title="Octree adjacency leaf container class- stores a list of pointers to neighbors, number of points added...">pcl::octree::OctreePointCloudAdjacencyContainer</a> </p>
<dl class="section note"><dt>注解</dt><dd>It stores xyz, rgb, normal, distance, an index, and an owner. </dd></dl>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="ad51a32b2a4d8e5dc62e337261b89c88f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad51a32b2a4d8e5dc62e337261b89c88f">&#9670;&nbsp;</a></span>getNormal()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointT &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classpcl_1_1_supervoxel_clustering.html">pcl::SupervoxelClustering</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt;::VoxelData::getNormal </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structpcl_1_1_normal.html">Normal</a> &amp;&#160;</td>
          <td class="paramname"><em>normal_arg</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the data of in the form of a normal </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">normal_arg</td><td>Will contain the normal value of the voxeldata </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00769"></a><span class="lineno">  769</span>&#160;  {</div>
<div class="line"><a name="l00770"></a><span class="lineno">  770</span>&#160;    normal_arg.normal_x = normal_[0];</div>
<div class="line"><a name="l00771"></a><span class="lineno">  771</span>&#160;    normal_arg.normal_y = normal_[1];</div>
<div class="line"><a name="l00772"></a><span class="lineno">  772</span>&#160;    normal_arg.normal_z = normal_[2];</div>
<div class="line"><a name="l00773"></a><span class="lineno">  773</span>&#160;    normal_arg.curvature = curvature_;</div>
<div class="line"><a name="l00774"></a><span class="lineno">  774</span>&#160;  }</div>
</div><!-- fragment -->
</div>
</div>
<a id="a6a43e5d0cf77ec2fb51787af00afbf0f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6a43e5d0cf77ec2fb51787af00afbf0f">&#9670;&nbsp;</a></span>getPoint()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointT &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classpcl_1_1_supervoxel_clustering.html">pcl::SupervoxelClustering</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt;::VoxelData::getPoint </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &amp;&#160;</td>
          <td class="paramname"><em>point_arg</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the data of in the form of a point </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">point_arg</td><td>Will contain the point value of the voxeldata </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00759"></a><span class="lineno">  759</span>&#160;  {</div>
<div class="line"><a name="l00760"></a><span class="lineno">  760</span>&#160;    <span class="comment">//XYZ is required or this doesn&#39;t make much sense...</span></div>
<div class="line"><a name="l00761"></a><span class="lineno">  761</span>&#160;    point_arg.x = xyz_[0];</div>
<div class="line"><a name="l00762"></a><span class="lineno">  762</span>&#160;    point_arg.y = xyz_[1];</div>
<div class="line"><a name="l00763"></a><span class="lineno">  763</span>&#160;    point_arg.z = xyz_[2];</div>
<div class="line"><a name="l00764"></a><span class="lineno">  764</span>&#160;  }</div>
</div><!-- fragment -->
</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>segmentation/include/pcl/segmentation/<a class="el" href="supervoxel__clustering_8h_source.html">supervoxel_clustering.h</a></li>
<li>segmentation/include/pcl/segmentation/impl/<a class="el" href="supervoxel__clustering_8hpp_source.html">supervoxel_clustering.hpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>pcl</b></li><li class="navelem"><a class="el" href="classpcl_1_1_supervoxel_clustering.html">SupervoxelClustering</a></li><li class="navelem"><a class="el" href="classpcl_1_1_supervoxel_clustering_1_1_voxel_data.html">VoxelData</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
